/**
 * @ Author: luoqi
 * @ Create Time: 2024-04-17 22:05
 * @ Modified by: luoqi
 * @ Modified time: 2024-10-12 21:45
 * @ Description:
 */

#ifndef _QBOOT_CFG_H
#define _QBOOT_CFG_H

enum qboot_interface{
    QBOOT_INTERFACE_UART,
    QBOOT_INTERFACE_SPI,
    QBOOT_INTERFACE_I2C,
    QBOOT_INTERFACE_CAN,
    QBOOT_INTERFACE_USB,
    QBOOT_INTERFACE_ETH,
};

enum qboot_protocol{
    QBOOT_PROTOCOL_YMODEM,
};

#define QBOOT_DISP_DBG_INFO     0

#define QBOOT_VERSION_MAJOR     1
#define QBOOT_VERSION_MINOR     1
#define QBOOT_VERSION_PATCH     0

#define QBOOT_ISBOOT_ADDR       0x08008000

#define QBOOT_APP_ADDR          0x08010000

#define QBOOT_INTERFACE         QBOOT_INTERFACE_UART

#define QBOOT_PROTOCOL          QBOOT_PROTOCOL_YMODEM

#endif
